WooCommerce\PayPalCommerce\WcGateway\Helper\PayUponInvoiceHelper S

Total Complexity 40
Dependencies 4
Dependents 2
Total lines 160
Lines of code 95
Logical lines of code 62
Comment lines 54
Methods 6
Properties 2

Methods 6

Method Rating Maintainability Complexity Lines of code
is_valid_product()
A
47 16 34
is_checkout_ready_for_pui()
A
53 11 21
is_pay_for_order_ready_for_pui()
S
54 5 20
is_valid_currency()
S
60 4 12
is_pui_gateway_enabled()
S
73 3 4
__construct()
S
77 1 4